<?php global $_; ?>
<div class="row">
    <div class="alert alert-info">
        <h3><?= $_->t('Attribut'); ?></h3>
        <span class="code pl"><?= $_->t('Datentyp'); ?></span>
        <div class="well">
            <?= $_->t('Defaults existieren nicht für die Map-Daten! Einzig die Settings sind in den'); ?> <span class="code fat">mapbox.defaults</span> <?= $_->t('schon gesetzt und können mit'); ?> <span class="code fat">mapdata.settings</span> <?= $_->t('überschrieben werden.'); ?>
            <?= $_->t('Praktisch kann in'); ?>  <span class="code fat">mapdata.settings</span> <?= $_->t('alles, was in'); ?>  <span class="code fat">mapbox.defaults</span> <?= $_->t('existiert. Also auch:'); ?> <span class="code fat">mapdata.settings.infoBox.closeOnClickOutside</span>
            <br />
            <br />
            <?= $_->t('Map Init Parameter überschreiben Map Defaults'); ?><br />
            <?= $_->t('Map Data Settings überschreiben Map Init Parameter und Map Defaults'); ?><br />
            <br />
            <?= $_->t('Die üblichen Settings die mit der Map mitgegeben werden, sind die Koodinaten und die Zoom-Einstellungen'); ?>.<br />
        </div>
    </div>
</div>

<div class="row">
    <div class="alert alert-danger">
        <div class="well">
            <?= $_->t('Achtung! Wenn jQuery den Host bei Ajax-Abfragen auf "file://" auflöst, die Html-Datei also NICHT über einen Webserver aufgerufen wird, sondern direkt aus dem Dateisystem, dann erwartet jQuery XHR striktes XML zurück - und kein Html. jQuery wirft einen Fehler. Darum bitte jede Arbeiten mindestens über einen lokalen V-Host machen.'); ?>
        </div>
    </div>
</div>

<div class="row-fluid">
    <h3>mapdata.settings</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Grundeinstellungen der Karte'); ?>
    </div>
</div>

<div class="row-fluid level2">
    <h3>mapdata.settings.startPoint</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Startpunkt'); ?>
    </div>
</div>

<div class="row-fluid level3">
    <h3>mapdata.settings.startPoint.lat</h3>
    <pre class="prettyprint linenums lang-js">
float</pre>
    <div class="well">
        <?= $_->t('Startpunkt Latitude'); ?>
    </div>
</div>

<div class="row-fluid level3">
    <h3>mapdata.settings.startPoint.lng</h3>
    <pre class="prettyprint linenums lang-js">
float</pre>
    <div class="well">
        <?= $_->t('Startpunkt Longitude'); ?>
    </div>
</div>

<div class="row-fluid level2">
    <h3>mapdata.settings.startZoom</h3>
    <pre class="prettyprint linenums lang-js">
int</pre>
    <div class="well">
        <?= $_->t('Startzoom'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.settings.maxZoom</h3>
    <pre class="prettyprint linenums lang-js">
int</pre>
    <div class="well">
        <?= $_->t('Maximaler Zoom'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.settings.minZoom</h3>
    <pre class="prettyprint linenums lang-js">
int</pre>
    <div class="well">
        <?= $_->t('Minimaler Zoom'); ?>
    </div>
</div>
<div class="row-fluid">
    <h3>mapdata.places</h3>
    <pre class="prettyprint linenums lang-js">
array</pre>
    <div class="well">
        <?= $_->t('Die Orte'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.places[ ].name</h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Name, Titel oder Headline'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.places[ ].text</h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Text'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.places[ ].coordinates</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Die Kooridnaten'); ?>
    </div>
</div>
<div class="row-fluid level3">
    <h3>mapdata.places[ ].coordinates.lat</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Latitude'); ?>
    </div>
</div>
<div class="row-fluid level3">
    <h3>mapdata.places[ ].coordinates.lng</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Longitude'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.places[ ].marker_icon</h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Marker Icon Dateiname'); ?>
    </div>
</div>
<div class="row-fluid level2">
    <h3>mapdata.places[ ].info_box</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Eine Infobox'); ?>
    </div>
</div>
<div class="row-fluid level3">
    <h3>mapdata.places[ ].info_box.xhr_method<br />
        mapdata.places[ ].info_box.click.xhr_method<br />
        mapdata.places[ ].info_box.hover.xhr_method
    </h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('POST oder GET'); ?>
    </div>
</div>
<div class="row-fluid level3">
    <h3>mapdata.places[ ].info_box.xhr_src<br />
        mapdata.places[ ].info_box.click.xhr_src<br />
        mapdata.places[ ].info_box.hover.xhr_src
    </h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Url'); ?>
    </div>
</div>
<div class="row-fluid level3">
    <h3>mapdata.places[ ].info_box.xhr_options<br />
        mapdata.places[ ].info_box.click.xhr_options<br />
        mapdata.places[ ].info_box.hover.xhr_options</h3>
    <pre class="prettyprint linenums lang-js">
object</pre>
    <div class="well">
        <?= $_->t('Post Daten'); ?>
    </div>
</div>
<div class="row-fluid level3">
    <h3>mapdata.places[ ].info_box.link<br />
        mapdata.places[ ].info_box.click.link<br />
        mapdata.places[ ].info_box.hover.link
    </h3>
    <pre class="prettyprint linenums lang-js">
array</pre>
    <div class="well">
        <?= $_->t('Links, wird über Template dargestellt'); ?>
    </div>
</div>
<div class="row-fluid level4">
    <h3>mapdata.places[ ].info_box.link[ ].name<br />
        mapdata.places[ ].info_box.click.link[ ].name<br />
        mapdata.places[ ].info_box.hover.link[ ].name
    </h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Alt-Tag'); ?>
    </div>
</div>
<div class="row-fluid level4">
    <h3>mapdata.places[ ].info_box.link[ ].text<br />
        mapdata.places[ ].info_box.click.link[ ].text<br />
        mapdata.places[ ].info_box.hover.link[ ].text
    </h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Link-Text'); ?>
    </div>
</div>
<div class="row-fluid level4">
    <h3>mapdata.places[ ].info_box.link[ ].src<br />
        mapdata.places[ ].info_box.click.link[ ].src<br />
        mapdata.places[ ].info_box.hover.link[ ].src
    </h3>
    <pre class="prettyprint linenums lang-js">
string</pre>
    <div class="well">
        <?= $_->t('Link-Url'); ?>
    </div>
</div>

